home *** CD-ROM | disk | FTP | other *** search
/ Hackers Underworld 2: Forbidden Knowledge / Hackers Underworld 2: Forbidden Knowledge.iso / PHREAK / SP.TXT < prev    next >
Text File  |  1994-07-17  |  58KB  |  2,127 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                                  TITLE PAGE
  7.  
  8.  
  9.                            IBM PC Voice Mail Card
  10.  
  11.                                      By
  12.  
  13.                               Daniel A. Durbin
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.                                Senior Project
  29.  
  30.               ELECTRONIC AND ELECTRICAL ENGINEERING DEPARTMENT
  31.  
  32.                   California Polytechnic State University
  33.  
  34.                             San Luis Obispo, CA
  35.  
  36.                                     1989
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.                                APPROVAL PAGE
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.               Title:                  IBM PC Voice Mail Card 
  57.               Author:                 Daniel Durbin
  58.               Date Submitted:         March 15, 1989
  59.  
  60.  
  61.  
  62.  
  63.  
  64.                     Copyright (C) 1989 by Daniel Durbin
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.               ______________________ ________________________
  72.               Prof. Arthur Dickerson         Signature
  73.               Senior Project Advisor
  74.  
  75.  
  76.               ______________________ _________________________
  77.                 Dr. James D. Harris          Signature
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.                                      i
  92.  
  93.  
  94.  
  95.  
  96.  
  97.                              TABLE OF CONTENTS
  98.  
  99.               Section                                  Page
  100.  
  101.                    ABSTRACT............................ iv
  102.               I.   INTRODUCTION........................  1
  103.                       A.  Purpose......................  1
  104.                       B.  Problem......................  1
  105.                       C.  Solution.....................  2
  106.               II.  BACKGROUND..........................  3
  107.                       A.  IBM PC Bus Interface.........  3
  108.                       B.  Telephone Line Interface.....  5
  109.                       C.  A/D and D/A Conversion.......  6
  110.               III. REQUIREMENTS........................  7
  111.               IV.  DESIGN..............................  8
  112.                       A.  Address Decode............... 10
  113.                       B.  Data Bus..................... 13
  114.                       C.  Voice Digitizer.............. 15
  115.                       D.  Voice Reproduction........... 18
  116.                       E.  Audio Input Amplifier........ 18
  117.                       F.  Audio Output Amplifier....... 21
  118.                       G.  Telephone Interface.......... 22
  119.                       H.  DTMF Decoder/Ring Detector... 24
  120.                       I.  Software Program............. 27
  121.               V.   DEVELOPMENT AND CONSTRUCTION........ 28
  122.               VI.  TEST RESULTS........................ 29
  123.                       A.  ADC Test..................... 29
  124.                       B.  Audio End-around Test........ 30
  125.                       C.  DAC Test..................... 32
  126.                       D.  Telephone Interface.......... 32
  127.                       E.  Answering Mode Test.......... 32
  128.                       F.  Integrated test.............. 33
  129.               VII.  CONCLUSION......................... 34
  130.               VIII. BIBLIOGRAPHY....................... 35
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.                                      ii
  146.  
  147.  
  148.  
  149.  
  150.  
  151.                                 APPENDICES                                    
  152.  
  153.               Section                                  Page
  154.  
  155.               A.  Specifications....................... 35
  156.               B.  Parts List and Costs................. 36
  157.               C.  Wire List............................ 39
  158.               D.  IC Location Diagram.................. 41
  159.               E.  PC Board Layout...................... 42
  160.               F.  Program Listing...................... 44
  161.               G.  Hardware Configuration/Layout........ 49
  162.  
  163.  
  164.  
  165.                                    TABLES
  166.  
  167.               II-1  IBM PC Bus Pin-out.................  4
  168.               IV-1  Address Assignment................. 12
  169.               IV-2  Control/Status Register Bit Asgmnt. 15    
  170.               V-1   Frequency Response Data............ 31
  171.               D-1   Wire List.......................... 39
  172.  
  173.  
  174.  
  175.                                   FIGURES
  176.  
  177.               IV-1  General Block Diagram..............  9
  178.               IV-2  Address Decode Schematic Diagram... 11 
  179.               IV-3  Data Bus Schematic Diagram......... 14 
  180.               IV-4  Audio Input/Output Schematic Diagm. 19 
  181.               IV-5  Telephone Interface Schematic Diagm 23 
  182.               IV-6  DTMF Decoder Schematic Diagram..... 25 
  183.               IV-7  Ring Detector Schematic Diagram.... 26    
  184.               V-1   Frequency Response Plot............ 30    
  185.               D-1   Wiring Diagram..................... 40
  186.               E-1   IC Location / PC Board Silkscreen.. 41
  187.               F-1   PC Board Layout - Component Side... 42  
  188.               F-2   PC Board Layout - Solder Side...... 43
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.                                     iii
  200.                                   ABSTRACT 
  201.  
  202.               
  203.  
  204.               The Voice Mail Card (VMC) functions as an 
  205.  
  206.               enhanced telephone answering machine and is 
  207.  
  208.               designed as a plug in card for the IBM PC and 
  209.  
  210.               compatibles. In addition to regular answering 
  211.  
  212.               machine functions, the VMC features programmable 
  213.  
  214.               outgoing message selection, response to caller's 
  215.  
  216.               touch tone signals, and remote programming 
  217.  
  218.               ability. 
  219.  
  220.               The function of the Voice Mail Card is to answer 
  221.  
  222.               incoming telephone calls, deliver outgoing 
  223.  
  224.               messages which are programmably selectable from 
  225.  
  226.               16 digitized audio messages which are stored on 
  227.  
  228.               the PC's hard disk, to record incoming messages 
  229.  
  230.               to the hard disk or optionally to an external 
  231.  
  232.               cassette tape recorder, to respond to a caller's 
  233.  
  234.               touch tone signals, and to enter a remote 
  235.  
  236.               programming mode as a result of a special code 
  237.  
  238.               sent by the caller. 
  239.  
  240.               Audio messages are processed digitally via A/D 
  241.  
  242.               and D/A converters which receive and send 8 bit 
  243.  
  244.               data to and from the IBM PC through a selectable 
  245.  
  246.               port address.  A/D conversion is implemented 
  247.  
  248.               with the ADC0802 which is operated at a clock 
  249.  
  250.               rate of 512 Mhz. 
  251.  
  252.  
  253.                                      iv 
  254.  
  255.               At this frequency, the conversion rate of the 
  256.  
  257.               ADC will be 8 khz yielding a bandwidth of 4 khz 
  258.  
  259.               which is the limit of the telephone line.  This 
  260.  
  261.               same clock is used for D/A conversion which is 
  262.  
  263.               implemented with the DAC0830.  8 bit data is 
  264.  
  265.               read/written to/from the card via software and 
  266.  
  267.               stored on the hard disk or optionally to an 
  268.  
  269.               external cassette tape recorder. 
  270.  
  271.               Data is transferred to and from the card through 
  272.  
  273.               I/O port address 0278h which may be changed as 
  274.  
  275.               necessary by dip switch selection.  A software 
  276.  
  277.               program controls data read and write operations.  
  278.  
  279.               A full featured pull-down windowing program is 
  280.  
  281.               provided which controls all features of the VMC 
  282.  
  283.               and operates in answer mode, program mode, 
  284.  
  285.               message record, and message playback modes. 
  286.  
  287.               A/D and D/A conversion, telephone line speech 
  288.  
  289.               interface, ring detection, and DTMF decoding are 
  290.  
  291.               performed by pre-packaged monolithic devices. 
  292.  
  293.               The entire circuitry resides on a 4-1/2" x 7" 
  294.  
  295.               printed circuit board which plugs into an 
  296.  
  297.               expansion slot in the IBM PC. 
  298.  
  299.               
  300.  
  301.               
  302.  
  303.               
  304.  
  305.               
  306.  
  307.  
  308.                                      v 
  309.  
  310.  
  311.               
  312.  
  313.                             I.      INTRODUCTION 
  314.  
  315.  
  316.               A.  Purpose  
  317.  
  318.               This project proposes an alternative to the 
  319.  
  320.